how to plot a graph in physics practical